<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/9/20
  Time: 15:31
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>练习一</title>
</head>
<body>

<jsp:useBean id="emp" class="com.web.test.bean.Emp">
    <jsp:setProperty name="emp" property="eNo" value="1"></jsp:setProperty>
    <jsp:setProperty name="emp" property="eName" value="周春艳"></jsp:setProperty>
    <jsp:setProperty name="emp" property="job" value="Java后台开发"></jsp:setProperty>
</jsp:useBean>
<%
request.setCharacterEncoding("utf-8");
%>
<jsp:forward page="response.jsp">

    <jsp:param name="eNo" value="<%=emp.geteNo()%>"></jsp:param>
    <jsp:param name="eName" value="<%=emp.geteName()%>"></jsp:param>
    <jsp:param name="job" value="<%=emp.getJob()%>"></jsp:param>
</jsp:forward>

</body>
</html>
